package com.abocode.aichat.app.constant;

/***
 * Created by guanxf on 2015/12/16.
 */
public class Constant {
    /**
     * 用户token过期时间
     */
    public static final int USER_TOKEN_EXPIRES_DAYS= 30;


    public final  class  AUTHORIZATIONCONSTANT {
        public static final  String    TOKEN="X-SNS-Token";//:*鉴权，md5(DATA + Appid + Version + Dtype + Appid + DATA + Dtype)
        public static final  String    AUTHORIZATION ="Authorization";//:*鉴权，md5(DATA + Appid + Version + Dtype + Appid + DATA + Dtype)
        public static final  String    APPID ="X-SNS-Appid";//:	*应用编号（产品ID）
        public static  final String   DTYPE ="X-SNS-Dtype";//	*设备类型，Android、iOS
        public  static final String   IMEI ="X-SNS-Imei";//	IMEI
        public  static final String   IMSI="X-SNS-Imsi";	//IMSI
        public  static final String   VERSION="X-SNS-Version";//	*客户端版本号
        public  static final String  APN ="X-SNS-Apn";//	网络接入点名称，如uninet，cmnet，uniwap，cmwap，3gwap，3gnet，wifi，ctnet,ctwap(能获取到的必须传，iphone获取不到可为空)
        public  static final String  NETTYPE="X-SNS-Nettype";//	网络类型：Wifi、2G、3G、4G
        public  static final String   MAC ="X-SNS-Mac";//	手机端mac地址
        public  static final String   DATA="X-SNS-DATA";//:	*md5(http body)
    }
    public final  class  SNSREDIS {
        public static final  String    SNSUSR="SNS-User";//:*鉴权，md5(DATA + Appid + Version + Dtype + Appid + DATA + Dtype)
    }

}
